build_guard "zlib" || return

print_title "Build for zlib" && cd "$BUILD_TOOL_DEP_ROOT/zlib"
./configure --static --prefix=$INSTALL_DIR
make && make install

: '
Usage:
find_package(ZLIB MODULE REQUIRED)
target_link_libraries(${PROJECT_NAME} PRIVATE ZLIB::ZLIB)
'
